Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/typos in bridge store #1298

Open
wants to merge 3 commits into
base: sepolia
Choose a base branch
from

Conversation

betrayalove
Copy link

PR Summary

This Pull Request addresses several improvements in the BridgeStore:

-- Fixed a typo: withDrawStep renamed to withdrawStep for consistency with camelCase naming conventions.
-- Added missing types to function parameters for better TypeScript support and code clarity.
These changes enhance code readability and prevent potential issues related to inconsistent variable names.


Checklist

  • There are breaking changes
  • I've added/changed/removed ENV variable(s)
  • I checked whether I should update the docs and did so by updating /docs

Description

This PR fixes two main issues in the BridgeStore code:

  1. withDrawStep → withdrawStep: Renamed to ensure consistency with camelCase naming conventions.
  2. Added missing types: Added types for function parameters like changeHistoryVisible, changeFromNetwork, and others to ensure type safety.
    These changes don't affect the functionality but improve the developer experience by ensuring better naming practices and type safety.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant